.class Lcom/baidu/ar;
.super Lcom/baidu/bn;


# direct methods
.method public constructor <init>(Lcom/baidu/AdView;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/baidu/bn;-><init>(Lcom/baidu/AdView;)V

    return-void
.end method

.method private m()V
    .locals 4

    :try_start_0
    const-string v0, "AppAdContainer.toShop"

    invoke-static {v0}, Lcom/baidu/bk;->b(Ljava/lang/String;)I

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    invoke-virtual {p0}, Lcom/baidu/ar;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/baidu/AppActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    const-string v1, "curl"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->getClickURL()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "clklogurl"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->h()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "surl"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->getSURL()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "tit"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->getTitle()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "desc"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->getDescription()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "ad_charge"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->o()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    const-string v1, "limg"

    invoke-virtual {p0}, Lcom/baidu/ar;->h()Lcom/baidu/Ad;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/Ad;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/baidu/ar;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/baidu/ar;->c()Ljava/util/Map;

    move-result-object v1

    sget-object v2, Lcom/baidu/ay;->b:Lcom/baidu/ay;

    invoke-virtual {p0}, Lcom/baidu/ar;->c()Ljava/util/Map;

    move-result-object v0

    sget-object v3, Lcom/baidu/ay;->b:Lcom/baidu/ay;

    invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {v1, v2, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/baidu/as;->a()Lcom/baidu/as;

    move-result-object v0

    invoke-virtual {p0}, Lcom/baidu/ar;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/baidu/as;->a(Landroid/content/Context;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/baidu/bk;->a(Ljava/lang/Throwable;)I

    goto :goto_0
.end method


# virtual methods
.method public a(Landroid/content/Context;)V
    .locals 1

    const-string v0, "AppAdContainer.clicked"

    invoke-static {v0}, Lcom/baidu/bk;->b(Ljava/lang/String;)I

    invoke-direct {p0}, Lcom/baidu/ar;->m()V

    return-void
.end method

.method public b(Landroid/content/Context;)V
    .locals 1

    const-string v0, "AppAdContainer.phoned"

    invoke-static {v0}, Lcom/baidu/bk;->b(Ljava/lang/String;)I

    invoke-direct {p0}, Lcom/baidu/ar;->m()V

    return-void
.end method
